package com.lemo.event;

import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

@Component
public class DemoListener implements ApplicationListener<DemoEvent> {


    public void onApplicationEvent(DemoEvent event) {
        System.out.println("543"+event.getMsg());
    }
}
